package com.hejing.bpeldesign.bpel;

import com.intellij.openapi.fileTypes.LanguageFileType;
import org.jetbrains.annotations.NotNull;
import javax.swing.*;

public class BpelFileType extends LanguageFileType {
    public static final BpelFileType INSTANCE = new BpelFileType();

    private BpelFileType() {
        super(BpelLanguage.INSTANCE);
    }

    @NotNull
    @Override
    public String getName() {
        return "BPEL File";
    }

    @NotNull
    @Override
    public String getDescription() {
        return "BPEL process file";
    }

    @NotNull
    @Override
    public String getDefaultExtension() {
        return "bpel";
    }

    @Override
    public Icon getIcon() {
        return null; // 或者自定义图标
    }
}